Skip to content

Refactor: Remove Merge Conflicts#136

Merged
rajat-k1 merged 27 commits intorelease/v2.0from
main
Apr 23, 2025
Merged

Refactor: Remove Merge Conflicts#136
rajat-k1 merged 27 commits intorelease/v2.0from
main

Conversation

@master-of-none
Copy link
Copy Markdown
Collaborator

Remove Merge Conflicts for future dev

master-of-none and others added 27 commits April 7, 2025 09:55
Enhancement: Add GitHub Issue Templates for Bug, Feature, and Enhancement
…lates

Revert "Enhancement: Add GitHub Issue Templates for Bug, Feature, and Enhancement"
hotfix: Updated map and added a school to list 🛠️
Turning gamezone sections into buttons and removed extra alt text to help with screen reader navigation.
Added the variable declaration for debugMessage, which was missing in earlier commits!
feature: update team section with missing members
Approving the PR
It works as discussed with Prajwala. And the error messages are working as desired
Major Release - bug fixes and login system
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
audemywebsite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2025 7:42pm

@master-of-none master-of-none requested a review from Copilot April 23, 2025 19:42
@master-of-none master-of-none self-assigned this Apr 23, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes merge conflict artifacts and refactors error handling logic across various pages to improve user feedback. Key changes include:

  • Updated error handling in SignUp.js, ResetPassword.vue, and ForgotPassword.vue with switch-case logic for various HTTP statuses.
  • UI updates in Impact and GameZone pages, including marker data adjustments and improved text cleaning.
  • Addition of new staff members and updated GitHub issue templates to support feature, enhancement, and bug reporting.

Reviewed Changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/pages/SignUp/SignUp.js Refactored error handling with switch-case statements and added a helper function for alerts.
src/pages/ResetPassword/ResetPassword.vue Improved API error processing and added form validations with pre-condition checks.
src/pages/Impact/CollaboratingSchools/Map.vue Updated marker coordinates and popup text.
src/pages/Impact/CollaboratingSchools/Affiliates.vue Updated affiliate data with new organization details.
src/pages/GameZone/GameZoneList/ColorGame.vue Enhanced text cleaning logic for user input.
src/pages/GameZone/GameZoneList/CarCounting.vue Introduced improved punctuation removal before answer checking.
src/pages/GameZone/GameZoneCard/GameZoneCard.vue Changed container element from a div to a button for improved interactivity.
src/pages/ForgotPassword/ForgotPassword.vue Updated error handling logic and responses.
src/pages/AboutUs/Volunteers/Staff.js Added new developer entries in the staff list.
.github/ISSUE_TEMPLATE/* Added and updated issue templates for feature requests, enhancements, and bug reports.
Files not reviewed (1)
  • .prettierrc: Language not supported
Comments suppressed due to low confidence (1)

src/pages/SignUp/SignUp.js:29

  • The variable 'message' is not defined within this scope; consider extracting the error message from the response or remove the reference to 'message'.
showErrorAlert("Bad request: " + (message || "Please check your input"));

if ((password.value != confirmPassword.value) || (password.value.length < 8)) {
// Set the flag to true to display the error message on the frontend
errors.value = true;
errorMessage.value = "Passwords do not match or is not at least 8 characters long";
Copy link

Copilot AI Apr 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider revising the error text for grammatical clarity (e.g., 'Passwords do not match or are less than 8 characters long').

Suggested change
errorMessage.value = "Passwords do not match or is not at least 8 characters long";
errorMessage.value = "Passwords do not match or are less than 8 characters long";

Copilot uses AI. Check for mistakes.
@master-of-none master-of-none requested a review from rajat-k1 April 23, 2025 19:43
@master-of-none
Copy link
Copy Markdown
Collaborator Author

@rajat-k1 Approve this to be inline with main branch

Copy link
Copy Markdown
Collaborator

@rajat-k1 rajat-k1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes from main to release are necessary for future development, as release/v2.0 is essentially the dev branch.

The changes look good, Approved ✅

@rajat-k1 rajat-k1 merged commit 591dac6 into release/v2.0 Apr 23, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants